import Vue from 'vue'
import { Button } from 'element-ui'
import { Form, FormItem } from 'element-ui'
import { Input } from 'element-ui'
import { container } from 'element-ui'
import { header } from 'element-ui'
import { aside } from 'element-ui'
import { main } from 'element-ui'
import { menu } from 'element-ui'
import { Submenu } from 'element-ui'
import { MenuItemGroup } from 'element-ui'
import { MenuItem } from 'element-ui'
import { Breadcrumb } from 'element-ui'
import { BreadcrumbItem } from 'element-ui'
import { Card } from 'element-ui'
import { Row } from 'element-ui'
import { Col } from 'element-ui'
import { Table } from 'element-ui'
import { TableColumn } from 'element-ui'
import { Switch } from 'element-ui'
import { Tooltip } from 'element-ui'
import { Pagination } from 'element-ui'
import { Dialog } from 'element-ui'
import { Select } from 'element-ui'
import { MessageBox } from 'element-ui'
import { Tag } from 'element-ui'
import { Tree } from 'element-ui'
import { Option } from 'element-ui'
import { Cascader } from 'element-ui'
import { Alert } from 'element-ui'
import { Tabs } from 'element-ui'
import { TabPane } from 'element-ui'
import { Steps } from 'element-ui'
import { Step } from 'element-ui'
import { CheckboxGroup } from 'element-ui'
import { Checkbox } from 'element-ui'
import { Upload } from 'element-ui'

// 消息弹窗提示组件导入
import { Message } from 'element-ui'

Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(container)
Vue.use(header)
Vue.use(aside)
Vue.use(main)
Vue.use(menu)
Vue.use(Submenu)
Vue.use(MenuItemGroup)
Vue.use(MenuItem)
Vue.use(Breadcrumb)
Vue.use(BreadcrumbItem)
Vue.use(Card)
Vue.use(Row)
Vue.use(Col)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Switch)
Vue.use(Tooltip)
Vue.use(Pagination)
Vue.use(Dialog)
Vue.use(Select)
Vue.use(Tag)
Vue.use(Tree)
Vue.use(Option)
Vue.use(Cascader)
Vue.use(Alert)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Steps)
Vue.use(Step)
Vue.use(CheckboxGroup)
Vue.use(Checkbox)
Vue.use(Upload)

// 把消息弹窗提示组件放在vue的原型下面就可以随便调用
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm
